<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1,minimum-scale=1,user-scalable=no,viewport-fit=cover">
		<title>运营合作登录页</title>
		<link rel="stylesheet" href="css/index.css">
	</head>
	<body>
		<div class="cooperation">
			<!-- 上部图 -->
			<div class="cooperation_img"><img src="" alt="" id="imgBa"></div>
			<!-- 圆弧 -->
			<div class="img_circle">
				<img src="img/image_zhezhao@2x.png" alt="">
			</div>
			<img src="img/btn_bg@2x.png" class="btns">
			<img src="img/icon_gift@2x.png" alt="" class="gifts">
			<text class='text'>立即领取</text>

		</div>
		<div class="word">此活动最终解释权归健康界与中国医生集团共同享有</div>
	</body>
	<script src="js/jquery.min.js"></script>
	<script src="js/rem.js"></script>
	<script>
		window.onload = function() {
		
			function isIPhoneX(fn) {
				var u = navigator.userAgent;
				var isIOS = !!u.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/); //ios终端
				if (isIOS) {
					if (screen.height == 812 && screen.width == 375) {
						//是iphoneX
						$('#imgBa').attr('src', 'img/iosX.png')
						console.log(1214512)
					} else {
						//不是iphoneX
						console.log('fsdafdsfds')
						$('#imgBa').attr('src', 'img/common.png')
					}
				}
			}
			isIPhoneX()

		}
	</script>
</html>
